// cover some element-ui styles
@import './variables.scss';
// .el-breadcrumb__inner,
// .el-breadcrumb__inner a {
//   font-weight: 400 !important;
// }
.el-button.is-disabled {
  // background-color: #fff !important;
  // border-color: #eee !important;
  color: $colorTextPlaceholder !important;
  &:hover {
    background-color: #fff !important;
    // border-color: #eee !important;
    color: $colorTextPlaceholder !important;
  }
}
.el-upload {
  input[type='file'] {
    display: none !important;
  }
}
// 解决表格错位问题
.el-table--border th.gutter:last-of-type {
  display: block !important;
  // width: 17px !important;
}
.el-table th.gutter  {
  display: table-cell !important;
}
.el-checkbox__label {
  padding-left: 4px;
  font-size: 12px;
  vertical-align: middle;
}
.is-disabled .el-input__inner {
  border-color: $borderColorBase !important;
}
.el-upload__input {
  display: none;
}
.el-cascader-panel {
  font-size: 12px;
}
.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border: 1px solid $baseBorder;
  border-bottom: none;
}
.el-select-dropdown {
  border: 1px solid $baseBorder;
}
.el-tabs--card > .el-tabs__header {
  border-bottom: 1px solid $baseBorder;
}
.el-tabs--card > .el-tabs__header .el-tabs__item {
  border-left: 1px solid $baseBorder;
}
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
  border-bottom-color: #fff;
}
.el-cascader__dropdown {
  border: 1px solid $baseBorder;
}
.el-cascader-menu {
  border-right: 1px solid $baseBorder;
}
.el-button--medium {
  padding: 7px 16px;
}
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

.btn-underline {
  text-decoration: underline;
}
